﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TalksLog.Domain.Core;

namespace TalksLog.Infrastructure.EFRepository
{
    public class RepositoryEFDataContext : RepositoryDataContextBase
    {
        private EFDbContext _dbContext = new EFDbContext();

        public EFDbContext DBContext
        {
            get { return _dbContext; }
        }

        public override void SaveChanges()
        {
            _dbContext.SaveChanges();
        }

        public override void Dispose()
        {
            _dbContext.Dispose();
        }
    }
}
